package com.maxatime.pojo.entity;

import java.util.Date;

/**
 * @ClassName Xiaofei
 * @Description TODO
 * @Author 33117
 * @Date 2024/7/29 8:32
 **/
public class Xiaofei {
    //姓名
    private String name;
    //进店时间
    private Date enterTime;
    //消费金额
    private  Double consumptionAmount;
    //优惠金额
    private  Double discountAmount;

    public Xiaofei(String name, Date enterTime, Double consumptionAmount, Double discountAmount) {
        this.name = name;
        this.enterTime = enterTime;
        this.consumptionAmount = consumptionAmount;
        this.discountAmount = discountAmount;
    }

    @Override
    public String toString() {
        return "Xiaofei{" +
                "name='" + name + '\'' +
                ", enterTime='" + enterTime + '\'' +
                ", consumptionAmount=" + consumptionAmount +
                ", discountAmount=" + discountAmount +
                '}';
    }

    public void setName(String name) {
        this.name = name;
    }

    public void setEnterTime(Date enterTime) {
        this.enterTime = enterTime;
    }

    public void setConsumptionAmount(Double consumptionAmount) {
        this.consumptionAmount = consumptionAmount;
    }

    public void setDiscountAmount(Double discountAmount) {
        this.discountAmount = discountAmount;
    }

    public String getName() {
        return name;
    }

    public Date getEnterTime() {
        return enterTime;
    }

    public Double getConsumptionAmount() {
        return consumptionAmount;
    }

    public Double getDiscountAmount() {
        return discountAmount;
    }
}
